package com.zttek.videoShareProject.modules.service;

import com.zttek.videoShareProject.modules.model.Follow;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author CBY
 * @since 2018-07-03
 */
public interface IFollowService extends IService<Follow> {
    /**
     * 添加关注
     * @param follow
     * @throws Exception
     */
	public void insertFollow(Follow follow) throws Exception;

    /**
     * 取消关注
     * @param follow
     * @throws Exception
     */
	public void deleteFollw(Follow follow) throws Exception;

    /**
     * 判断是否有关注关系，0未关注，1是已关注
     * @param follow
     * @return
     * @throws Exception
     */
	public Integer isFollow(Follow follow)throws Exception;
}
